package com.codingxyz.simple.gc;

public class HelloGc {

    public static void main(String[] args) {
        System.out.println("hello GC");

        long totalMem = Runtime.getRuntime().totalMemory();
        System.out.println(totalMem);
        try {
            Thread.sleep(1);
            //Thread.sleep(Integer.MAX_VALUE);
        } catch (InterruptedException e) {
            e.printStackTrace();
        }

    }
}
